home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.4 Applications 1997 August / SGI IRIX 6.4 Applications 1997 August.iso / dist / print.idb / usr / share / catman / a_man / cat1 / setdevperms.z / setdevperms
Encoding:
Text File  |  1997-07-30  |  1.9 KB  |  67 lines

  1.  
  2.  
  3.  
  4. SSSSEEEETTTTDDDDEEEEVVVVPPPPEEEERRRRMMMMSSSS((((1111MMMM))))                 PPPPrrrriiiinnnnttttiiiinnnngggg TTTToooooooollllssss                 SSSSEEEETTTTDDDDEEEEVVVVPPPPEEEERRRRMMMMSSSS((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      setdevperms - Update printing device entries in /etc/ioperms
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _ssss_eeee_tttt_dddd_eeee_vvvv_pppp_eeee_rrrr_mmmm_ssss [----DDDD] [----aaaa <line to add>] [----dddd <line to delete>]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _s_e_t_d_e_v_p_e_r_m_s adds or removes entries from the /etc/ioperms file.   If the
  16.      line exists in the file then it is not added.  If the line to delete
  17.      exists more then once in the file then all occurrences are deleted.  When
  18.      deleting a line leading and trailing white space is NOT ignored.  Any
  19.      line to add or delete must start with "/dev" or "#".  There are no other
  20.      syntax checks performed on lines added or removed.  Multiple lines can be
  21.      added and removed at the same time by specifying multiple instances of ----aaaa
  22.      or ----dddd.
  23.  
  24.      ----DDDD can be used to turn on debugging.
  25.  
  26.      If /etc/ioperms does not exist then it is created when a new line is
  27.      added.
  28.  
  29.      You must be root to run setdevperms.
  30.  
  31.      Example:
  32.  
  33.      /usr/lib/print/setdevperms -a "/dev/plp 0644 lp sys"
  34.  
  35. FFFFIIIILLLLEEEESSSS
  36.      /usr/lib/print/setdevperms /etc/ioperms
  37.  
  38. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  39.      ioconfig(1M)
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.